//
//  NSUserDefaults+DCFUser.h
//  MZB
//
//  Created by 吴文拼 on 2017/12/12.
//  Copyright © 2017年 吴文拼. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSUserDefaults (DCFUser)

- (NSArray *)DCF_arrayForKey:(NSString *)defaultName;

- (BOOL)DCF_boolForKey:(NSString *)defaultName;

- (NSData *)DCF_dataForKey:(NSString *)defaultName;

- (NSDictionary *)DCF_dictionaryForKey:(NSString *)defaultName;

- (float)DCF_floatForKey:(NSString *)defaultName;

- (NSInteger)DCF_integerForKey:(NSString *)defaultName;

- (id)DCF_objectForKey:(NSString *)defaultName;

- (NSArray *)DCF_stringArrayForKey:(NSString *)defaultName;

- (NSString *)DCF_stringForKey:(NSString *)defaultName;

- (double)DCF_doubleForKey:(NSString *)defaultName;

- (NSURL *)DCF_URLForKey:(NSString *)defaultName;



- (void)DCF_setBool:(BOOL)value forKey:(NSString *)defaultName;

- (void)DCF_setFloat:(float)value forKey:(NSString *)defaultName;

- (void)DCF_setInteger:(NSInteger)value forKey:(NSString *)defaultName;

- (void)DCF_setObject:(id)value forKey:(NSString *)defaultName;

- (void)DCF_setDouble:(double)value forKey:(NSString *)defaultName;

- (void)DCF_setURL:(NSURL *)url forKey:(NSString *)defaultName;



- (void)DCF_removeObjectForKey:(NSString *)defaultName;

@end

